package me.zhengjie.modules.workorder.repository;

import me.zhengjie.modules.workorder.domain.TCustomerSuggest;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Optional;

/**
* @author zcw
* @date 2019-11-10
*/
@SuppressWarnings("rawtypes")
public interface TCustomerSuggestRepository extends JpaRepository<TCustomerSuggest, Integer>, JpaSpecificationExecutor {
    Optional<TCustomerSuggest> findByOrderCode(String orderCode);
}